/*
 * Created on 01/05/2008
 */

package com.apbetioli.mapr.project.dao;

/**
 *
 * @author Alexandre Parra Betioli
 */
public class ProjectsDaoFactory {

    public static ProjectsDaoInterface getInstance( final boolean useTransactions ) {
        if( useTransactions )
            return new ProjectsDao();
        else
            return new ProjectsDaoNoTransaction();
    }
    
}
